﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace QualitySupervision.Models
{
    public class FileSystemItem
    {
        /// <summary>
        /// 文件标识Id
        /// </summary>
        [Key]
        public Guid FileId { get; set; }

        /// <summary>
        /// 文件编码
        /// </summary>
        public string FileCode { get; set; }

        /// <summary>
        /// 原始文件名
        /// </summary>
        public string OriginFileName { get; set; }

        /// <summary>
        /// /新文件名
        /// </summary>
        public string NewFileName { get; set; }

        /// <summary>
        /// 文件类型
        /// </summary>
        public string FileType { get; set; }

        /// <summary>
        /// 文件目录
        /// </summary>
        public string FileVirtualPath { get; set; }

        /// <summary>
        /// 文件完整路径名称
        /// </summary>
        public string FileFullPath { get; set; }

        /// <summary>
        /// 文件大小
        /// </summary>
        public long FileSize { get; set; }

        /// <summary>
        /// 文件扩展名
        /// </summary>
        public string FileExtension { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// Linux、Windows、OSX
        /// </summary>
        public string OSPlatform { get; set; }
    }
}
